<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9"/>
<title>NGUI: UIPanel Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI
   &#160;<span id="projectnumber">3.11.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_panel.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_u_i_panel-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UIPanel Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widgets' geometry.  
 <a href="class_u_i_panel.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UIPanel:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_panel.png" usemap="#UIPanel_map" alt=""/>
  <map id="UIPanel_map" name="UIPanel_map">
<area href="class_u_i_rect.html" title="Abstract UI rectangle containing functionality common to both panels and widgets. A UI rectangle cont..." alt="UIRect" shape="rect" coords="0,56,102,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aedc77b1890bef43997a39eac2991f927"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aedc77b1890bef43997a39eac2991f927"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>RenderQueue</b> { <b>Automatic</b>, 
<b>StartAt</b>, 
<b>Explicit</b>
 }</td></tr>
<tr class="separator:aedc77b1890bef43997a39eac2991f927"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_class_u_i_rect"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_u_i_rect')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_u_i_rect.html">UIRect</a></td></tr>
<tr class="memitem:a674c759da6e6d9cd52ea256cf044c8ea inherit pub_types_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a674c759da6e6d9cd52ea256cf044c8ea"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>AnchorUpdate</b> { <b>OnEnable</b>, 
<b>OnUpdate</b>, 
<b>OnStart</b>
 }</td></tr>
<tr class="separator:a674c759da6e6d9cd52ea256cf044c8ea inherit pub_types_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0dd01615eb6d9a18a800e3fce9fef82c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0dd01615eb6d9a18a800e3fce9fef82c"></a>
delegate void&#160;</td><td class="memItemRight" valign="bottom"><b>OnGeometryUpdated</b> ()</td></tr>
<tr class="separator:a0dd01615eb6d9a18a800e3fce9fef82c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31ec6bd1e32f4826ebb3d5565d32c392"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31ec6bd1e32f4826ebb3d5565d32c392"></a>
delegate void&#160;</td><td class="memItemRight" valign="bottom"><b>OnClippingMoved</b> (<a class="el" href="class_u_i_panel.html">UIPanel</a> panel)</td></tr>
<tr class="separator:a31ec6bd1e32f4826ebb3d5565d32c392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5cafbdd4279febb84c1c84a5048295e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae5cafbdd4279febb84c1c84a5048295e"></a>
delegate Material&#160;</td><td class="memItemRight" valign="bottom"><b>OnCreateMaterial</b> (<a class="el" href="class_u_i_widget.html">UIWidget</a> widget, Material mat)</td></tr>
<tr class="separator:ae5cafbdd4279febb84c1c84a5048295e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af360658a2751450623b9c3e901e9e4d9"><td class="memItemLeft" align="right" valign="top">override Vector3[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#af360658a2751450623b9c3e901e9e4d9">GetSides</a> (Transform relativeTo)</td></tr>
<tr class="memdesc:af360658a2751450623b9c3e901e9e4d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the sides of the rectangle relative to the specified transform. The order is left, top, right, bottom.  <a href="#af360658a2751450623b9c3e901e9e4d9">More...</a><br /></td></tr>
<tr class="separator:af360658a2751450623b9c3e901e9e4d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a882c9f7c7ffca74daa6cee1e6d1c4cc9"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a882c9f7c7ffca74daa6cee1e6d1c4cc9">Invalidate</a> (bool includeChildren)</td></tr>
<tr class="memdesc:a882c9f7c7ffca74daa6cee1e6d1c4cc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidating the panel should reset its alpha.  <a href="#a882c9f7c7ffca74daa6cee1e6d1c4cc9">More...</a><br /></td></tr>
<tr class="separator:a882c9f7c7ffca74daa6cee1e6d1c4cc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd9736460126290f248d2641bb1d390e"><td class="memItemLeft" align="right" valign="top">override float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#acd9736460126290f248d2641bb1d390e">CalculateFinalAlpha</a> (int frameID)</td></tr>
<tr class="memdesc:acd9736460126290f248d2641bb1d390e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Widget's final alpha, after taking the panel's alpha into account.  <a href="#acd9736460126290f248d2641bb1d390e">More...</a><br /></td></tr>
<tr class="separator:acd9736460126290f248d2641bb1d390e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac04c5fe5c43f97447ac68ea7e1d076ee"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ac04c5fe5c43f97447ac68ea7e1d076ee">SetRect</a> (float x, float y, float <a class="el" href="class_u_i_panel.html#a7543cc373f3a4e050017ed9737185084">width</a>, float <a class="el" href="class_u_i_panel.html#af326560557ea5b181f42a05febee8255">height</a>)</td></tr>
<tr class="memdesc:ac04c5fe5c43f97447ac68ea7e1d076ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the panel's rectangle.  <a href="#ac04c5fe5c43f97447ac68ea7e1d076ee">More...</a><br /></td></tr>
<tr class="separator:ac04c5fe5c43f97447ac68ea7e1d076ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70127e23393322773e833161c693a6b2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a70127e23393322773e833161c693a6b2">IsVisible</a> (Vector3 a, Vector3 b, Vector3 c, Vector3 d)</td></tr>
<tr class="memdesc:a70127e23393322773e833161c693a6b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the specified rectangle is visible by the panel. The coordinates must be in world space.  <a href="#a70127e23393322773e833161c693a6b2">More...</a><br /></td></tr>
<tr class="separator:a70127e23393322773e833161c693a6b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa512c5623d55cfa1cb66e59b793ff800"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#aa512c5623d55cfa1cb66e59b793ff800">IsVisible</a> (Vector3 worldPos)</td></tr>
<tr class="memdesc:aa512c5623d55cfa1cb66e59b793ff800"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the specified world position is within the panel's bounds determined by the clipping rect.  <a href="#aa512c5623d55cfa1cb66e59b793ff800">More...</a><br /></td></tr>
<tr class="separator:aa512c5623d55cfa1cb66e59b793ff800"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb4745cb95664108bfb75e477d543a48"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#acb4745cb95664108bfb75e477d543a48">IsVisible</a> (<a class="el" href="class_u_i_widget.html">UIWidget</a> w)</td></tr>
<tr class="memdesc:acb4745cb95664108bfb75e477d543a48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the specified widget is visible by the panel.  <a href="#acb4745cb95664108bfb75e477d543a48">More...</a><br /></td></tr>
<tr class="separator:acb4745cb95664108bfb75e477d543a48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4af47716534d16c910198e778288af04"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a4af47716534d16c910198e778288af04">Affects</a> (<a class="el" href="class_u_i_widget.html">UIWidget</a> w)</td></tr>
<tr class="memdesc:a4af47716534d16c910198e778288af04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the specified widget is going to be affected by this panel in any way.  <a href="#a4af47716534d16c910198e778288af04">More...</a><br /></td></tr>
<tr class="separator:a4af47716534d16c910198e778288af04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c04c019ffc78c87b631e8f49bd2d408"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a0c04c019ffc78c87b631e8f49bd2d408">RebuildAllDrawCalls</a> ()</td></tr>
<tr class="memdesc:a0c04c019ffc78c87b631e8f49bd2d408"><td class="mdescLeft">&#160;</td><td class="mdescRight">Causes all draw calls to be re-created on the next update.  <a href="#a0c04c019ffc78c87b631e8f49bd2d408">More...</a><br /></td></tr>
<tr class="separator:a0c04c019ffc78c87b631e8f49bd2d408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4af8227e9313faae51eee7763621d2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ac4af8227e9313faae51eee7763621d2d">SetDirty</a> ()</td></tr>
<tr class="memdesc:ac4af8227e9313faae51eee7763621d2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidate the panel's draw calls, forcing them to be rebuilt on the next update. This call also affects all children.  <a href="#ac4af8227e9313faae51eee7763621d2d">More...</a><br /></td></tr>
<tr class="separator:ac4af8227e9313faae51eee7763621d2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7fccef5a3343e1b22e8ff2aa6459d4b"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#af7fccef5a3343e1b22e8ff2aa6459d4b">ParentHasChanged</a> ()</td></tr>
<tr class="memdesc:af7fccef5a3343e1b22e8ff2aa6459d4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the parent panel, if we have one.  <a href="#af7fccef5a3343e1b22e8ff2aa6459d4b">More...</a><br /></td></tr>
<tr class="separator:af7fccef5a3343e1b22e8ff2aa6459d4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53576a109d2f3aab0422d0a3b01985b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a53576a109d2f3aab0422d0a3b01985b2">SortWidgets</a> ()</td></tr>
<tr class="memdesc:a53576a109d2f3aab0422d0a3b01985b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Immediately sort all child widgets.  <a href="#a53576a109d2f3aab0422d0a3b01985b2">More...</a><br /></td></tr>
<tr class="separator:a53576a109d2f3aab0422d0a3b01985b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb470769bbb0a46c3d52a0ad9a001988"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#aeb470769bbb0a46c3d52a0ad9a001988">FillDrawCall</a> (<a class="el" href="class_u_i_draw_call.html">UIDrawCall</a> dc)</td></tr>
<tr class="memdesc:aeb470769bbb0a46c3d52a0ad9a001988"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill the geometry for the specified draw call.  <a href="#aeb470769bbb0a46c3d52a0ad9a001988">More...</a><br /></td></tr>
<tr class="separator:aeb470769bbb0a46c3d52a0ad9a001988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5ee0b9bb4e404b3035c7b0516bd2308"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_draw_call.html">UIDrawCall</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#af5ee0b9bb4e404b3035c7b0516bd2308">FindDrawCall</a> (<a class="el" href="class_u_i_widget.html">UIWidget</a> w)</td></tr>
<tr class="memdesc:af5ee0b9bb4e404b3035c7b0516bd2308"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert the specified widget into one of the existing draw calls if possible. If it's not possible, and a new draw call is required, 'null' is returned because draw call creation is a delayed operation.  <a href="#af5ee0b9bb4e404b3035c7b0516bd2308">More...</a><br /></td></tr>
<tr class="separator:af5ee0b9bb4e404b3035c7b0516bd2308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02510f8cd583b505a0a06ca4980dc14a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a02510f8cd583b505a0a06ca4980dc14a">AddWidget</a> (<a class="el" href="class_u_i_widget.html">UIWidget</a> w)</td></tr>
<tr class="memdesc:a02510f8cd583b505a0a06ca4980dc14a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make the following widget be managed by the panel.  <a href="#a02510f8cd583b505a0a06ca4980dc14a">More...</a><br /></td></tr>
<tr class="separator:a02510f8cd583b505a0a06ca4980dc14a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b4ce31c20c8342160830f72a4011cb5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a7b4ce31c20c8342160830f72a4011cb5">RemoveWidget</a> (<a class="el" href="class_u_i_widget.html">UIWidget</a> w)</td></tr>
<tr class="memdesc:a7b4ce31c20c8342160830f72a4011cb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the widget from its current draw call, invalidating everything as needed.  <a href="#a7b4ce31c20c8342160830f72a4011cb5">More...</a><br /></td></tr>
<tr class="separator:a7b4ce31c20c8342160830f72a4011cb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0465c9b3211095356bf1847b149c8f7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a0465c9b3211095356bf1847b149c8f7a">Refresh</a> ()</td></tr>
<tr class="memdesc:a0465c9b3211095356bf1847b149c8f7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Immediately refresh the panel.  <a href="#a0465c9b3211095356bf1847b149c8f7a">More...</a><br /></td></tr>
<tr class="separator:a0465c9b3211095356bf1847b149c8f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a141b09406cf3e6a923db53c4fd860a44"><td class="memItemLeft" align="right" valign="top">virtual Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a141b09406cf3e6a923db53c4fd860a44">CalculateConstrainOffset</a> (Vector2 min, Vector2 max)</td></tr>
<tr class="memdesc:a141b09406cf3e6a923db53c4fd860a44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the offset needed to be constrained within the panel's bounds.  <a href="#a141b09406cf3e6a923db53c4fd860a44">More...</a><br /></td></tr>
<tr class="separator:a141b09406cf3e6a923db53c4fd860a44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30e1b21acea0887de15a7dbea308ab62"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a30e1b21acea0887de15a7dbea308ab62">ConstrainTargetToBounds</a> (Transform target, ref Bounds targetBounds, bool immediate)</td></tr>
<tr class="memdesc:a30e1b21acea0887de15a7dbea308ab62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constrain the current target position to be within panel bounds.  <a href="#a30e1b21acea0887de15a7dbea308ab62">More...</a><br /></td></tr>
<tr class="separator:a30e1b21acea0887de15a7dbea308ab62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b37a77873429dd6f45238bc6f7e8f9e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a1b37a77873429dd6f45238bc6f7e8f9e">ConstrainTargetToBounds</a> (Transform target, bool immediate)</td></tr>
<tr class="memdesc:a1b37a77873429dd6f45238bc6f7e8f9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constrain the specified target to be within the panel's bounds.  <a href="#a1b37a77873429dd6f45238bc6f7e8f9e">More...</a><br /></td></tr>
<tr class="separator:a1b37a77873429dd6f45238bc6f7e8f9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af34936aa8bbac40d8dfd539f161c4518"><td class="memItemLeft" align="right" valign="top">Vector2&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#af34936aa8bbac40d8dfd539f161c4518">GetWindowSize</a> ()</td></tr>
<tr class="memdesc:af34936aa8bbac40d8dfd539f161c4518"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of the game window in pixels.  <a href="#af34936aa8bbac40d8dfd539f161c4518">More...</a><br /></td></tr>
<tr class="separator:af34936aa8bbac40d8dfd539f161c4518"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1748c0bf4fd5a981ad5f66a0463b32f9"><td class="memItemLeft" align="right" valign="top">Vector2&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a1748c0bf4fd5a981ad5f66a0463b32f9">GetViewSize</a> ()</td></tr>
<tr class="memdesc:a1748c0bf4fd5a981ad5f66a0463b32f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Panel's size &ndash; which is either the clipping rect, or the screen dimensions.  <a href="#a1748c0bf4fd5a981ad5f66a0463b32f9">More...</a><br /></td></tr>
<tr class="separator:a1748c0bf4fd5a981ad5f66a0463b32f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_u_i_rect"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_u_i_rect')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_u_i_rect.html">UIRect</a></td></tr>
<tr class="memitem:a69f5f3f52dc92bbe91de691eec344e2f inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a69f5f3f52dc92bbe91de691eec344e2f">Update</a> ()</td></tr>
<tr class="memdesc:a69f5f3f52dc92bbe91de691eec344e2f inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rectangles need to update in a specific order &ndash; parents before children. When deriving from this class, override its <a class="el" href="class_u_i_rect.html#a0068dcbfbe2d6d809751b18a73ae4e94" title="Abstract update functionality, ensured to happen after the targeting anchors have been updated...">OnUpdate()</a> function instead.  <a href="#a69f5f3f52dc92bbe91de691eec344e2f">More...</a><br /></td></tr>
<tr class="separator:a69f5f3f52dc92bbe91de691eec344e2f inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6612973d92737a48bfbfcfd791a331b inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#ad6612973d92737a48bfbfcfd791a331b">UpdateAnchors</a> ()</td></tr>
<tr class="memdesc:ad6612973d92737a48bfbfcfd791a331b inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manually update anchored sides.  <a href="#ad6612973d92737a48bfbfcfd791a331b">More...</a><br /></td></tr>
<tr class="separator:ad6612973d92737a48bfbfcfd791a331b inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fe98a0b73b4921354b24ac7ba7e0d52 inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a9fe98a0b73b4921354b24ac7ba7e0d52">SetAnchor</a> (Transform t)</td></tr>
<tr class="memdesc:a9fe98a0b73b4921354b24ac7ba7e0d52 inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Anchor this rectangle to the specified transform. Note that this function will not keep the rectangle's current dimensions, but will instead assume the target's dimensions.  <a href="#a9fe98a0b73b4921354b24ac7ba7e0d52">More...</a><br /></td></tr>
<tr class="separator:a9fe98a0b73b4921354b24ac7ba7e0d52 inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8799f459e4b8129772641fd823cf370 inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#ad8799f459e4b8129772641fd823cf370">SetAnchor</a> (GameObject go)</td></tr>
<tr class="memdesc:ad8799f459e4b8129772641fd823cf370 inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Anchor this rectangle to the specified transform. Note that this function will not keep the rectangle's current dimensions, but will instead assume the target's dimensions.  <a href="#ad8799f459e4b8129772641fd823cf370">More...</a><br /></td></tr>
<tr class="separator:ad8799f459e4b8129772641fd823cf370 inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada1b92910471657f6ff9fb0a08375416 inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#ada1b92910471657f6ff9fb0a08375416">SetAnchor</a> (GameObject go, int left, int bottom, int right, int top)</td></tr>
<tr class="memdesc:ada1b92910471657f6ff9fb0a08375416 inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Anchor this rectangle to the specified transform.  <a href="#ada1b92910471657f6ff9fb0a08375416">More...</a><br /></td></tr>
<tr class="separator:ada1b92910471657f6ff9fb0a08375416 inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeff062fb0628d331760555b957e7671b inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#aeff062fb0628d331760555b957e7671b">SetAnchor</a> (GameObject go, float left, float bottom, float right, float top)</td></tr>
<tr class="memdesc:aeff062fb0628d331760555b957e7671b inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Anchor this rectangle to the specified transform.  <a href="#aeff062fb0628d331760555b957e7671b">More...</a><br /></td></tr>
<tr class="separator:aeff062fb0628d331760555b957e7671b inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd5f6258cf1c6e6b691134cf4271778d inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#abd5f6258cf1c6e6b691134cf4271778d">SetAnchor</a> (GameObject go, float left, int leftOffset, float bottom, int bottomOffset, float right, int rightOffset, float top, int topOffset)</td></tr>
<tr class="memdesc:abd5f6258cf1c6e6b691134cf4271778d inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Anchor this rectangle to the specified transform.  <a href="#abd5f6258cf1c6e6b691134cf4271778d">More...</a><br /></td></tr>
<tr class="separator:abd5f6258cf1c6e6b691134cf4271778d inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae275abb7e681d994434930a470cf4bf2 inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#ae275abb7e681d994434930a470cf4bf2">SetAnchor</a> (float left, int leftOffset, float bottom, int bottomOffset, float right, int rightOffset, float top, int topOffset)</td></tr>
<tr class="memdesc:ae275abb7e681d994434930a470cf4bf2 inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Anchor this rectangle to the specified transform.  <a href="#ae275abb7e681d994434930a470cf4bf2">More...</a><br /></td></tr>
<tr class="separator:ae275abb7e681d994434930a470cf4bf2 inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ac985162bce40168970be89f845237b inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a5ac985162bce40168970be89f845237b">SetScreenRect</a> (int left, int top, int width, int height)</td></tr>
<tr class="memdesc:a5ac985162bce40168970be89f845237b inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the rect of the widget to the specified X, Y, width and height, anchored to the top-left corner of the screen. Convenience function for those familiar with GUI.Draw.  <a href="#a5ac985162bce40168970be89f845237b">More...</a><br /></td></tr>
<tr class="separator:a5ac985162bce40168970be89f845237b inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a111e5817e6b281dc62d0030f816f7a27 inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a111e5817e6b281dc62d0030f816f7a27">ResetAnchors</a> ()</td></tr>
<tr class="memdesc:a111e5817e6b281dc62d0030f816f7a27 inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ensure that all rect references are set correctly on the anchors.  <a href="#a111e5817e6b281dc62d0030f816f7a27">More...</a><br /></td></tr>
<tr class="separator:a111e5817e6b281dc62d0030f816f7a27 inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ccd47dd0ca220403baab7ba4c22cf1c inherit pub_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a6ccd47dd0ca220403baab7ba4c22cf1c">ResetAndUpdateAnchors</a> ()</td></tr>
<tr class="memdesc:a6ccd47dd0ca220403baab7ba4c22cf1c inherit pub_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience method that resets and updates the anchors, all at once.  <a href="#a6ccd47dd0ca220403baab7ba4c22cf1c">More...</a><br /></td></tr>
<tr class="separator:a6ccd47dd0ca220403baab7ba4c22cf1c inherit pub_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5eefdaab7881ddf6f6715274bd70aa52"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a5eefdaab7881ddf6f6715274bd70aa52">CompareFunc</a> (<a class="el" href="class_u_i_panel.html">UIPanel</a> a, <a class="el" href="class_u_i_panel.html">UIPanel</a> b)</td></tr>
<tr class="memdesc:a5eefdaab7881ddf6f6715274bd70aa52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that can be used to depth-sort panels.  <a href="#a5eefdaab7881ddf6f6715274bd70aa52">More...</a><br /></td></tr>
<tr class="separator:a5eefdaab7881ddf6f6715274bd70aa52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d9cd1ec01aeea62dd8dc8eb1a9dd77b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a6d9cd1ec01aeea62dd8dc8eb1a9dd77b">Find</a> (Transform trans)</td></tr>
<tr class="memdesc:a6d9cd1ec01aeea62dd8dc8eb1a9dd77b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the <a class="el" href="class_u_i_panel.html" title="UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widget...">UIPanel</a> responsible for handling the specified transform.  <a href="#a6d9cd1ec01aeea62dd8dc8eb1a9dd77b">More...</a><br /></td></tr>
<tr class="separator:a6d9cd1ec01aeea62dd8dc8eb1a9dd77b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63e7b644c6b785575bebcc6bf36c50ca"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a63e7b644c6b785575bebcc6bf36c50ca">Find</a> (Transform trans, bool createIfMissing)</td></tr>
<tr class="memdesc:a63e7b644c6b785575bebcc6bf36c50ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the <a class="el" href="class_u_i_panel.html" title="UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widget...">UIPanel</a> responsible for handling the specified transform.  <a href="#a63e7b644c6b785575bebcc6bf36c50ca">More...</a><br /></td></tr>
<tr class="separator:a63e7b644c6b785575bebcc6bf36c50ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30c71c482322d55f7eaa342d50648e4e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a30c71c482322d55f7eaa342d50648e4e">Find</a> (Transform trans, bool createIfMissing, int layer)</td></tr>
<tr class="memdesc:a30c71c482322d55f7eaa342d50648e4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the <a class="el" href="class_u_i_panel.html" title="UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widget...">UIPanel</a> responsible for handling the specified transform.  <a href="#a30c71c482322d55f7eaa342d50648e4e">More...</a><br /></td></tr>
<tr class="separator:a30c71c482322d55f7eaa342d50648e4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6ab0c801fbb641224bcfd1507b9e47cf"><td class="memItemLeft" align="right" valign="top">OnGeometryUpdated&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a6ab0c801fbb641224bcfd1507b9e47cf">onGeometryUpdated</a></td></tr>
<tr class="memdesc:a6ab0c801fbb641224bcfd1507b9e47cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notification triggered when the panel's geometry get rebuilt. It's mainly here for debugging purposes.  <a href="#a6ab0c801fbb641224bcfd1507b9e47cf">More...</a><br /></td></tr>
<tr class="separator:a6ab0c801fbb641224bcfd1507b9e47cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0073bc58e06a531f831102b3752b8fe2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a0073bc58e06a531f831102b3752b8fe2">showInPanelTool</a> = true</td></tr>
<tr class="memdesc:a0073bc58e06a531f831102b3752b8fe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this panel will show up in the panel tool (set this to 'false' for dynamically created temporary panels)  <a href="#a0073bc58e06a531f831102b3752b8fe2">More...</a><br /></td></tr>
<tr class="separator:a0073bc58e06a531f831102b3752b8fe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cb562cd564108ba84acf209a13b1bbb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a7cb562cd564108ba84acf209a13b1bbb">generateNormals</a> = false</td></tr>
<tr class="memdesc:a7cb562cd564108ba84acf209a13b1bbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether normals and tangents will be generated for all meshes.  <a href="#a7cb562cd564108ba84acf209a13b1bbb">More...</a><br /></td></tr>
<tr class="separator:a7cb562cd564108ba84acf209a13b1bbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c1f0de3a6e0651c9a5c7aa222451d44"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a3c1f0de3a6e0651c9a5c7aa222451d44">generateUV2</a> = false</td></tr>
<tr class="memdesc:a3c1f0de3a6e0651c9a5c7aa222451d44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether secondary UV coordinates will be generated for all meshes.  <a href="#a3c1f0de3a6e0651c9a5c7aa222451d44">More...</a><br /></td></tr>
<tr class="separator:a3c1f0de3a6e0651c9a5c7aa222451d44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa217bf000da24ce13b4d0943a41f1b85"><td class="memItemLeft" align="right" valign="top">UIDrawCall.ShadowMode&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#aa217bf000da24ce13b4d0943a41f1b85">shadowMode</a> = UIDrawCall.ShadowMode.None</td></tr>
<tr class="memdesc:aa217bf000da24ce13b4d0943a41f1b85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether generated geometry will cast shadows.  <a href="#aa217bf000da24ce13b4d0943a41f1b85">More...</a><br /></td></tr>
<tr class="separator:aa217bf000da24ce13b4d0943a41f1b85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a192e1ef6295438e22caaa2f38c439efd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a192e1ef6295438e22caaa2f38c439efd">widgetsAreStatic</a> = false</td></tr>
<tr class="memdesc:a192e1ef6295438e22caaa2f38c439efd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether widgets drawn by this panel are static (won't move). This will improve performance.  <a href="#a192e1ef6295438e22caaa2f38c439efd">More...</a><br /></td></tr>
<tr class="separator:a192e1ef6295438e22caaa2f38c439efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f435ea1d26c989034884dc160f6d249"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a6f435ea1d26c989034884dc160f6d249">cullWhileDragging</a> = true</td></tr>
<tr class="memdesc:a6f435ea1d26c989034884dc160f6d249"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether widgets will be culled while the panel is being dragged. Having this on improves performance, but turning it off will reduce garbage collection.  <a href="#a6f435ea1d26c989034884dc160f6d249">More...</a><br /></td></tr>
<tr class="separator:a6f435ea1d26c989034884dc160f6d249"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad30f07b8d411ec238baa286ce134b7b3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ad30f07b8d411ec238baa286ce134b7b3">alwaysOnScreen</a> = false</td></tr>
<tr class="memdesc:ad30f07b8d411ec238baa286ce134b7b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Optimization flag. Makes the assumption that the panel's geometry will always be on screen and the bounds don't need to be re-calculated.  <a href="#ad30f07b8d411ec238baa286ce134b7b3">More...</a><br /></td></tr>
<tr class="separator:ad30f07b8d411ec238baa286ce134b7b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac10bd6f8af362b381e3d727c4a2e83c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#aac10bd6f8af362b381e3d727c4a2e83c">anchorOffset</a> = false</td></tr>
<tr class="memdesc:aac10bd6f8af362b381e3d727c4a2e83c"><td class="mdescLeft">&#160;</td><td class="mdescRight">By default, non-clipped panels use the camera's bounds, and the panel's position has no effect. If you want the panel's position to actually be used with anchors, set this field to 'true'.  <a href="#aac10bd6f8af362b381e3d727c4a2e83c">More...</a><br /></td></tr>
<tr class="separator:aac10bd6f8af362b381e3d727c4a2e83c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b2d0597d0618b932ee31189f908f906"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a7b2d0597d0618b932ee31189f908f906">softBorderPadding</a> = true</td></tr>
<tr class="memdesc:a7b2d0597d0618b932ee31189f908f906"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the soft border will be used as padding.  <a href="#a7b2d0597d0618b932ee31189f908f906">More...</a><br /></td></tr>
<tr class="separator:a7b2d0597d0618b932ee31189f908f906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af09a819fead3a376caf3b379dfa6d784"><td class="memItemLeft" align="right" valign="top">RenderQueue&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#af09a819fead3a376caf3b379dfa6d784">renderQueue</a> = RenderQueue.Automatic</td></tr>
<tr class="memdesc:af09a819fead3a376caf3b379dfa6d784"><td class="mdescLeft">&#160;</td><td class="mdescRight">By default all panels manage render queues of their draw calls themselves by incrementing them so that the geometry is drawn in the proper order. You can alter this behaviour.  <a href="#af09a819fead3a376caf3b379dfa6d784">More...</a><br /></td></tr>
<tr class="separator:af09a819fead3a376caf3b379dfa6d784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b339ef6c707a876b1d8fe9932ab9b5a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a3b339ef6c707a876b1d8fe9932ab9b5a">startingRenderQueue</a> = 3000</td></tr>
<tr class="memdesc:a3b339ef6c707a876b1d8fe9932ab9b5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render queue used by the panel. The default value of '3000' is the equivalent of "Transparent". This property is only used if 'renderQueue' is set to something other than "Automatic".  <a href="#a3b339ef6c707a876b1d8fe9932ab9b5a">More...</a><br /></td></tr>
<tr class="separator:a3b339ef6c707a876b1d8fe9932ab9b5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d0bc1f4ab8c122c07c7b0f8831a2929"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_u_i_widget.html">UIWidget</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a5d0bc1f4ab8c122c07c7b0f8831a2929">widgets</a> = new List&lt;<a class="el" href="class_u_i_widget.html">UIWidget</a>&gt;()</td></tr>
<tr class="memdesc:a5d0bc1f4ab8c122c07c7b0f8831a2929"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of widgets managed by this panel. Do not attempt to modify this list yourself.  <a href="#a5d0bc1f4ab8c122c07c7b0f8831a2929">More...</a><br /></td></tr>
<tr class="separator:a5d0bc1f4ab8c122c07c7b0f8831a2929"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07a93edaaeb66b5d1626fd8e4650ed7b"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_u_i_draw_call.html">UIDrawCall</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a07a93edaaeb66b5d1626fd8e4650ed7b">drawCalls</a> = new List&lt;<a class="el" href="class_u_i_draw_call.html">UIDrawCall</a>&gt;()</td></tr>
<tr class="memdesc:a07a93edaaeb66b5d1626fd8e4650ed7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of draw calls created by this panel. Do not attempt to modify this list yourself.  <a href="#a07a93edaaeb66b5d1626fd8e4650ed7b">More...</a><br /></td></tr>
<tr class="separator:a07a93edaaeb66b5d1626fd8e4650ed7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e1cfc549afe3112f20f31a24695f6bd"><td class="memItemLeft" align="right" valign="top">Matrix4x4&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a3e1cfc549afe3112f20f31a24695f6bd">worldToLocal</a> = Matrix4x4.identity</td></tr>
<tr class="memdesc:a3e1cfc549afe3112f20f31a24695f6bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Matrix that will transform the specified world coordinates to relative-to-panel coordinates.  <a href="#a3e1cfc549afe3112f20f31a24695f6bd">More...</a><br /></td></tr>
<tr class="separator:a3e1cfc549afe3112f20f31a24695f6bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfc6fa2545b96b4c351a1e3e5c6e9cb7"><td class="memItemLeft" align="right" valign="top">Vector4&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#adfc6fa2545b96b4c351a1e3e5c6e9cb7">drawCallClipRange</a> = new Vector4(0f, 0f, 1f, 1f)</td></tr>
<tr class="memdesc:adfc6fa2545b96b4c351a1e3e5c6e9cb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cached clip range passed to the draw call's shader.  <a href="#adfc6fa2545b96b4c351a1e3e5c6e9cb7">More...</a><br /></td></tr>
<tr class="separator:adfc6fa2545b96b4c351a1e3e5c6e9cb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a815cd2c2a69f19dbb697e6040c14bc0a"><td class="memItemLeft" align="right" valign="top">OnClippingMoved&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a815cd2c2a69f19dbb697e6040c14bc0a">onClipMove</a></td></tr>
<tr class="memdesc:a815cd2c2a69f19dbb697e6040c14bc0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event callback that's triggered when the panel's clip region gets moved.  <a href="#a815cd2c2a69f19dbb697e6040c14bc0a">More...</a><br /></td></tr>
<tr class="separator:a815cd2c2a69f19dbb697e6040c14bc0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af90ada3bb28fc16678601e237c73108c"><td class="memItemLeft" align="right" valign="top">OnCreateMaterial&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#af90ada3bb28fc16678601e237c73108c">onCreateMaterial</a></td></tr>
<tr class="memdesc:af90ada3bb28fc16678601e237c73108c"><td class="mdescLeft">&#160;</td><td class="mdescRight">There may be cases where you will want to create a custom material per-widget in order to have unique draw calls. If that's the case, set this delegate and return your newly created material. Note that it's up to you to cache this material for the next call.  <a href="#af90ada3bb28fc16678601e237c73108c">More...</a><br /></td></tr>
<tr class="separator:af90ada3bb28fc16678601e237c73108c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ab07afe244b25e1fa4d915bfc233df2"><td class="memItemLeft" align="right" valign="top">UIDrawCall.OnCreateDrawCall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a6ab07afe244b25e1fa4d915bfc233df2">onCreateDrawCall</a></td></tr>
<tr class="memdesc:a6ab07afe244b25e1fa4d915bfc233df2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event callback that's triggered whenever the panel creates a new draw call.  <a href="#a6ab07afe244b25e1fa4d915bfc233df2">More...</a><br /></td></tr>
<tr class="separator:a6ab07afe244b25e1fa4d915bfc233df2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cf156b8f2de818e3e87f8a2b8312e6f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a8cf156b8f2de818e3e87f8a2b8312e6f">useSortingOrder</a> = false</td></tr>
<tr class="memdesc:a8cf156b8f2de818e3e87f8a2b8312e6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether sorting order will be used or not. Sorting order is used with Unity's 2D system.  <a href="#a8cf156b8f2de818e3e87f8a2b8312e6f">More...</a><br /></td></tr>
<tr class="separator:a8cf156b8f2de818e3e87f8a2b8312e6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_u_i_rect"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_u_i_rect')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_u_i_rect.html">UIRect</a></td></tr>
<tr class="memitem:a08f2f6519f157ed0100d306874b3793d inherit pub_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a08f2f6519f157ed0100d306874b3793d">leftAnchor</a> = new <a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a>()</td></tr>
<tr class="memdesc:a08f2f6519f157ed0100d306874b3793d inherit pub_attribs_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Left side anchor.  <a href="#a08f2f6519f157ed0100d306874b3793d">More...</a><br /></td></tr>
<tr class="separator:a08f2f6519f157ed0100d306874b3793d inherit pub_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a14ea23fb356edb13898308414d42a0 inherit pub_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a7a14ea23fb356edb13898308414d42a0">rightAnchor</a> = new <a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a>(1f)</td></tr>
<tr class="memdesc:a7a14ea23fb356edb13898308414d42a0 inherit pub_attribs_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Right side anchor.  <a href="#a7a14ea23fb356edb13898308414d42a0">More...</a><br /></td></tr>
<tr class="separator:a7a14ea23fb356edb13898308414d42a0 inherit pub_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53846e475c27070ab6492bab3d8bab0e inherit pub_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a53846e475c27070ab6492bab3d8bab0e">bottomAnchor</a> = new <a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a>()</td></tr>
<tr class="memdesc:a53846e475c27070ab6492bab3d8bab0e inherit pub_attribs_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bottom side anchor.  <a href="#a53846e475c27070ab6492bab3d8bab0e">More...</a><br /></td></tr>
<tr class="separator:a53846e475c27070ab6492bab3d8bab0e inherit pub_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d90dc73b2f29bceb3aecfed6559fe32 inherit pub_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a7d90dc73b2f29bceb3aecfed6559fe32">topAnchor</a> = new <a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a>(1f)</td></tr>
<tr class="memdesc:a7d90dc73b2f29bceb3aecfed6559fe32 inherit pub_attribs_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Top side anchor.  <a href="#a7d90dc73b2f29bceb3aecfed6559fe32">More...</a><br /></td></tr>
<tr class="separator:a7d90dc73b2f29bceb3aecfed6559fe32 inherit pub_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab60718a7b447de043f96e41f5abe104c inherit pub_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">AnchorUpdate&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#ab60718a7b447de043f96e41f5abe104c">updateAnchors</a> = AnchorUpdate.OnUpdate</td></tr>
<tr class="memdesc:ab60718a7b447de043f96e41f5abe104c inherit pub_attribs_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether anchors will be recalculated on every update.  <a href="#ab60718a7b447de043f96e41f5abe104c">More...</a><br /></td></tr>
<tr class="separator:ab60718a7b447de043f96e41f5abe104c inherit pub_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a674b06c4354832effabee714fce88e03 inherit pub_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a674b06c4354832effabee714fce88e03">finalAlpha</a> = 1f</td></tr>
<tr class="memdesc:a674b06c4354832effabee714fce88e03 inherit pub_attribs_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Final calculated alpha.  <a href="#a674b06c4354832effabee714fce88e03">More...</a><br /></td></tr>
<tr class="separator:a674b06c4354832effabee714fce88e03 inherit pub_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ab2abe80accd60aee9935b0f4c8865d59"><td class="memItemLeft" align="right" valign="top">static List&lt; <a class="el" href="class_u_i_panel.html">UIPanel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ab2abe80accd60aee9935b0f4c8865d59">list</a> = new List&lt;<a class="el" href="class_u_i_panel.html">UIPanel</a>&gt;()</td></tr>
<tr class="memdesc:ab2abe80accd60aee9935b0f4c8865d59"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of active panels.  <a href="#ab2abe80accd60aee9935b0f4c8865d59">More...</a><br /></td></tr>
<tr class="separator:ab2abe80accd60aee9935b0f4c8865d59"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ac8f96d64cf619e1c712596f39768bb80"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ac8f96d64cf619e1c712596f39768bb80">Awake</a> ()</td></tr>
<tr class="memdesc:ac8f96d64cf619e1c712596f39768bb80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cache components.  <a href="#ac8f96d64cf619e1c712596f39768bb80">More...</a><br /></td></tr>
<tr class="separator:ac8f96d64cf619e1c712596f39768bb80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5365f292443f114184d0ce2b99fcdb2a"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a5365f292443f114184d0ce2b99fcdb2a">OnStart</a> ()</td></tr>
<tr class="memdesc:a5365f292443f114184d0ce2b99fcdb2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Layer is used to ensure that if it changes, widgets get moved as well.  <a href="#a5365f292443f114184d0ce2b99fcdb2a">More...</a><br /></td></tr>
<tr class="separator:a5365f292443f114184d0ce2b99fcdb2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95d8578858711ccd781a665a4d9c7df7"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a95d8578858711ccd781a665a4d9c7df7">OnEnable</a> ()</td></tr>
<tr class="memdesc:a95d8578858711ccd781a665a4d9c7df7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the frame IDs.  <a href="#a95d8578858711ccd781a665a4d9c7df7">More...</a><br /></td></tr>
<tr class="separator:a95d8578858711ccd781a665a4d9c7df7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9888a4c8dee6908b5a720dace2fde20"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ac9888a4c8dee6908b5a720dace2fde20">OnInit</a> ()</td></tr>
<tr class="memdesc:ac9888a4c8dee6908b5a720dace2fde20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mark all widgets as having been changed so the draw calls get re-created.  <a href="#ac9888a4c8dee6908b5a720dace2fde20">More...</a><br /></td></tr>
<tr class="separator:ac9888a4c8dee6908b5a720dace2fde20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38dfa0ccfcd2e384e76b3191e878da66"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a38dfa0ccfcd2e384e76b3191e878da66">OnDisable</a> ()</td></tr>
<tr class="memdesc:a38dfa0ccfcd2e384e76b3191e878da66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy all draw calls we've created when this script gets disabled.  <a href="#a38dfa0ccfcd2e384e76b3191e878da66">More...</a><br /></td></tr>
<tr class="separator:a38dfa0ccfcd2e384e76b3191e878da66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a7768f237d282b1b5cc883d572b18df"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a9a7768f237d282b1b5cc883d572b18df">OnAnchor</a> ()</td></tr>
<tr class="memdesc:a9a7768f237d282b1b5cc883d572b18df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the edges after the anchors have been updated.  <a href="#a9a7768f237d282b1b5cc883d572b18df">More...</a><br /></td></tr>
<tr class="separator:a9a7768f237d282b1b5cc883d572b18df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_u_i_rect"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_u_i_rect')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_u_i_rect.html">UIRect</a></td></tr>
<tr class="memitem:ad0d4eb46f28691ce029828d531835543 inherit pro_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#ad0d4eb46f28691ce029828d531835543">GetLocalPos</a> (<a class="el" href="class_u_i_rect_1_1_anchor_point.html">AnchorPoint</a> ac, Transform trans)</td></tr>
<tr class="memdesc:ad0d4eb46f28691ce029828d531835543 inherit pro_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function that gets the specified anchor's position relative to the chosen transform.  <a href="#ad0d4eb46f28691ce029828d531835543">More...</a><br /></td></tr>
<tr class="separator:ad0d4eb46f28691ce029828d531835543 inherit pro_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d4f20dd92d3393101aa288f2eae8167 inherit pro_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a2d4f20dd92d3393101aa288f2eae8167">Start</a> ()</td></tr>
<tr class="memdesc:a2d4f20dd92d3393101aa288f2eae8167 inherit pro_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set anchor rect references on start.  <a href="#a2d4f20dd92d3393101aa288f2eae8167">More...</a><br /></td></tr>
<tr class="separator:a2d4f20dd92d3393101aa288f2eae8167 inherit pro_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc004d100e1308f6b7f339b98079b35f inherit pro_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#abc004d100e1308f6b7f339b98079b35f">UpdateAnchorsInternal</a> (int frame)</td></tr>
<tr class="memdesc:abc004d100e1308f6b7f339b98079b35f inherit pro_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update anchors.  <a href="#abc004d100e1308f6b7f339b98079b35f">More...</a><br /></td></tr>
<tr class="separator:abc004d100e1308f6b7f339b98079b35f inherit pro_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0068dcbfbe2d6d809751b18a73ae4e94 inherit pro_methods_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a0068dcbfbe2d6d809751b18a73ae4e94">OnUpdate</a> ()</td></tr>
<tr class="memdesc:a0068dcbfbe2d6d809751b18a73ae4e94 inherit pro_methods_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract update functionality, ensured to happen after the targeting anchors have been updated.  <a href="#a0068dcbfbe2d6d809751b18a73ae4e94">More...</a><br /></td></tr>
<tr class="separator:a0068dcbfbe2d6d809751b18a73ae4e94 inherit pro_methods_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:afa88d234d692e240bb6eab167fdbd131"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#afa88d234d692e240bb6eab167fdbd131">sortingLayerName</a><code> [get, set]</code></td></tr>
<tr class="memdesc:afa88d234d692e240bb6eab167fdbd131"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sorting layer used by the panel &ndash; used when mixing NGUI with the Unity's 2D system. Contributed by Benzino07: <a href="http://www.tasharen.com/forum/index.php?topic=6956.15">http://www.tasharen.com/forum/index.php?topic=6956.15</a>  <a href="#afa88d234d692e240bb6eab167fdbd131">More...</a><br /></td></tr>
<tr class="separator:afa88d234d692e240bb6eab167fdbd131"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab05101cfd99c2dafbd2f8094d2783d7b"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ab05101cfd99c2dafbd2f8094d2783d7b">nextUnusedDepth</a><code> [get]</code></td></tr>
<tr class="memdesc:ab05101cfd99c2dafbd2f8094d2783d7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper property that returns the first unused depth value.  <a href="#ab05101cfd99c2dafbd2f8094d2783d7b">More...</a><br /></td></tr>
<tr class="separator:ab05101cfd99c2dafbd2f8094d2783d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b8efde77bde7ca70693b999238fde55"><td class="memItemLeft" align="right" valign="top">override bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a6b8efde77bde7ca70693b999238fde55">canBeAnchored</a><code> [get]</code></td></tr>
<tr class="memdesc:a6b8efde77bde7ca70693b999238fde55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the rectangle can be anchored.  <a href="#a6b8efde77bde7ca70693b999238fde55">More...</a><br /></td></tr>
<tr class="separator:a6b8efde77bde7ca70693b999238fde55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fdc9eda699d7a5c2a7711bad2f4e92a"><td class="memItemLeft" align="right" valign="top">override float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a9fdc9eda699d7a5c2a7711bad2f4e92a">alpha</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9fdc9eda699d7a5c2a7711bad2f4e92a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Panel's alpha affects everything drawn by the panel.  <a href="#a9fdc9eda699d7a5c2a7711bad2f4e92a">More...</a><br /></td></tr>
<tr class="separator:a9fdc9eda699d7a5c2a7711bad2f4e92a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a572ddd63a98782e18afe192dd6a85002"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a572ddd63a98782e18afe192dd6a85002">depth</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a572ddd63a98782e18afe192dd6a85002"><td class="mdescLeft">&#160;</td><td class="mdescRight">Panels can have their own depth value that will change the order with which everything they manage gets drawn.  <a href="#a572ddd63a98782e18afe192dd6a85002">More...</a><br /></td></tr>
<tr class="separator:a572ddd63a98782e18afe192dd6a85002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a040012d166ef961a0774cd0d28c4927e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a040012d166ef961a0774cd0d28c4927e">sortingOrder</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a040012d166ef961a0774cd0d28c4927e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sorting order value for the panel's draw calls, to be used with Unity's 2D system.  <a href="#a040012d166ef961a0774cd0d28c4927e">More...</a><br /></td></tr>
<tr class="separator:a040012d166ef961a0774cd0d28c4927e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7543cc373f3a4e050017ed9737185084"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a7543cc373f3a4e050017ed9737185084">width</a><code> [get]</code></td></tr>
<tr class="memdesc:a7543cc373f3a4e050017ed9737185084"><td class="mdescLeft">&#160;</td><td class="mdescRight">Panel's width in pixels.  <a href="#a7543cc373f3a4e050017ed9737185084">More...</a><br /></td></tr>
<tr class="separator:a7543cc373f3a4e050017ed9737185084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af326560557ea5b181f42a05febee8255"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#af326560557ea5b181f42a05febee8255">height</a><code> [get]</code></td></tr>
<tr class="memdesc:af326560557ea5b181f42a05febee8255"><td class="mdescLeft">&#160;</td><td class="mdescRight">Panel's height in pixels.  <a href="#af326560557ea5b181f42a05febee8255">More...</a><br /></td></tr>
<tr class="separator:af326560557ea5b181f42a05febee8255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d716341584bf2ac2a7dc713a06fb1cc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a5d716341584bf2ac2a7dc713a06fb1cc">halfPixelOffset</a><code> [get]</code></td></tr>
<tr class="memdesc:a5d716341584bf2ac2a7dc713a06fb1cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the panel's drawn geometry needs to be offset by a half-pixel.  <a href="#a5d716341584bf2ac2a7dc713a06fb1cc">More...</a><br /></td></tr>
<tr class="separator:a5d716341584bf2ac2a7dc713a06fb1cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a982937691a545c84f6018700a4706c7b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a982937691a545c84f6018700a4706c7b">usedForUI</a><code> [get]</code></td></tr>
<tr class="memdesc:a982937691a545c84f6018700a4706c7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the camera is used to draw UI geometry.  <a href="#a982937691a545c84f6018700a4706c7b">More...</a><br /></td></tr>
<tr class="separator:a982937691a545c84f6018700a4706c7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c40fb490a116552257f345928b57643"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a1c40fb490a116552257f345928b57643">drawCallOffset</a><code> [get]</code></td></tr>
<tr class="memdesc:a1c40fb490a116552257f345928b57643"><td class="mdescLeft">&#160;</td><td class="mdescRight">Directx9 pixel offset, used for drawing.  <a href="#a1c40fb490a116552257f345928b57643">More...</a><br /></td></tr>
<tr class="separator:a1c40fb490a116552257f345928b57643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9d8fe05897b650cf36d64b6b541be36"><td class="memItemLeft" align="right" valign="top">UIDrawCall.Clipping&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ac9d8fe05897b650cf36d64b6b541be36">clipping</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac9d8fe05897b650cf36d64b6b541be36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clipping method used by all draw calls.  <a href="#ac9d8fe05897b650cf36d64b6b541be36">More...</a><br /></td></tr>
<tr class="separator:ac9d8fe05897b650cf36d64b6b541be36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0946d16b28a3d01ab98668b617f823f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a0946d16b28a3d01ab98668b617f823f7">parentPanel</a><code> [get]</code></td></tr>
<tr class="memdesc:a0946d16b28a3d01ab98668b617f823f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to the parent panel, if any.  <a href="#a0946d16b28a3d01ab98668b617f823f7">More...</a><br /></td></tr>
<tr class="separator:a0946d16b28a3d01ab98668b617f823f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add4186003b1ff66f0ac7807110044cfd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#add4186003b1ff66f0ac7807110044cfd">clipCount</a><code> [get]</code></td></tr>
<tr class="memdesc:add4186003b1ff66f0ac7807110044cfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of times the panel's contents get clipped.  <a href="#add4186003b1ff66f0ac7807110044cfd">More...</a><br /></td></tr>
<tr class="separator:add4186003b1ff66f0ac7807110044cfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dae5dc3e3c232d8e4832ba8bf20b8ff"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a0dae5dc3e3c232d8e4832ba8bf20b8ff">hasClipping</a><code> [get]</code></td></tr>
<tr class="memdesc:a0dae5dc3e3c232d8e4832ba8bf20b8ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the panel will actually perform clipping of children.  <a href="#a0dae5dc3e3c232d8e4832ba8bf20b8ff">More...</a><br /></td></tr>
<tr class="separator:a0dae5dc3e3c232d8e4832ba8bf20b8ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56742e20e6efc29e4fb7c4231b0ebde6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a56742e20e6efc29e4fb7c4231b0ebde6">hasCumulativeClipping</a><code> [get]</code></td></tr>
<tr class="memdesc:a56742e20e6efc29e4fb7c4231b0ebde6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the panel will actually perform clipping of children.  <a href="#a56742e20e6efc29e4fb7c4231b0ebde6">More...</a><br /></td></tr>
<tr class="separator:a56742e20e6efc29e4fb7c4231b0ebde6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b72351ca93f40cb24569e5b3da87cc3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b72351ca93f40cb24569e5b3da87cc3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>clipsChildren</b><code> [get]</code></td></tr>
<tr class="separator:a3b72351ca93f40cb24569e5b3da87cc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af973e877fd56d4aa85d76e410a54de5c"><td class="memItemLeft" align="right" valign="top">Vector2&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#af973e877fd56d4aa85d76e410a54de5c">clipOffset</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af973e877fd56d4aa85d76e410a54de5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clipping area offset used to make it possible to move clipped panels (scroll views) efficiently. Scroll views move by adjusting the clip offset by one value, and the transform position by the inverse. This makes it possible to not have to rebuild the geometry, greatly improving performance.  <a href="#af973e877fd56d4aa85d76e410a54de5c">More...</a><br /></td></tr>
<tr class="separator:af973e877fd56d4aa85d76e410a54de5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a016a0eead2be12de9c52c970bf2b2b34"><td class="memItemLeft" align="right" valign="top">Texture2D&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a016a0eead2be12de9c52c970bf2b2b34">clipTexture</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a016a0eead2be12de9c52c970bf2b2b34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Texture used to clip the region.  <a href="#a016a0eead2be12de9c52c970bf2b2b34">More...</a><br /></td></tr>
<tr class="separator:a016a0eead2be12de9c52c970bf2b2b34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5c9c452fd4b23d544c77f1dd5defca0"><td class="memItemLeft" align="right" valign="top">Vector4&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ae5c9c452fd4b23d544c77f1dd5defca0">clipRange</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae5c9c452fd4b23d544c77f1dd5defca0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clipping position (XY) and size (ZW). Note that you should not be modifying this property at run-time to reposition the clipping. Adjust clipOffset instead.  <a href="#ae5c9c452fd4b23d544c77f1dd5defca0">More...</a><br /></td></tr>
<tr class="separator:ae5c9c452fd4b23d544c77f1dd5defca0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7895d55dd79f4ce94b15214f30ab67a"><td class="memItemLeft" align="right" valign="top">Vector4&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#ad7895d55dd79f4ce94b15214f30ab67a">baseClipRegion</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad7895d55dd79f4ce94b15214f30ab67a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clipping position (XY) and size (ZW). Note that you should not be modifying this property at run-time to reposition the clipping. Adjust clipOffset instead.  <a href="#ad7895d55dd79f4ce94b15214f30ab67a">More...</a><br /></td></tr>
<tr class="separator:ad7895d55dd79f4ce94b15214f30ab67a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cc4fdba9426d40d000167a06c5b6922"><td class="memItemLeft" align="right" valign="top">Vector4&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a3cc4fdba9426d40d000167a06c5b6922">finalClipRegion</a><code> [get]</code></td></tr>
<tr class="memdesc:a3cc4fdba9426d40d000167a06c5b6922"><td class="mdescLeft">&#160;</td><td class="mdescRight">Final clipping region after the offset has been taken into consideration. XY = center, ZW = size.  <a href="#a3cc4fdba9426d40d000167a06c5b6922">More...</a><br /></td></tr>
<tr class="separator:a3cc4fdba9426d40d000167a06c5b6922"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a724d97450cc789f2f5e211499bcce6fa"><td class="memItemLeft" align="right" valign="top">Vector2&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a724d97450cc789f2f5e211499bcce6fa">clipSoftness</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a724d97450cc789f2f5e211499bcce6fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clipping softness is used if the clipped style is set to "Soft".  <a href="#a724d97450cc789f2f5e211499bcce6fa">More...</a><br /></td></tr>
<tr class="separator:a724d97450cc789f2f5e211499bcce6fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e69116054a65dc5f63e3ecb98d87bb7"><td class="memItemLeft" align="right" valign="top">override Vector3[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a9e69116054a65dc5f63e3ecb98d87bb7">localCorners</a><code> [get]</code></td></tr>
<tr class="memdesc:a9e69116054a65dc5f63e3ecb98d87bb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Local-space corners of the panel's clipping rectangle. The order is bottom-left, top-left, top-right, bottom-right.  <a href="#a9e69116054a65dc5f63e3ecb98d87bb7">More...</a><br /></td></tr>
<tr class="separator:a9e69116054a65dc5f63e3ecb98d87bb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e02318551a1a6d86692838619b7749e"><td class="memItemLeft" align="right" valign="top">override Vector3[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_panel.html#a8e02318551a1a6d86692838619b7749e">worldCorners</a><code> [get]</code></td></tr>
<tr class="memdesc:a8e02318551a1a6d86692838619b7749e"><td class="mdescLeft">&#160;</td><td class="mdescRight">World-space corners of the panel's clipping rectangle. The order is bottom-left, top-left, top-right, bottom-right.  <a href="#a8e02318551a1a6d86692838619b7749e">More...</a><br /></td></tr>
<tr class="separator:a8e02318551a1a6d86692838619b7749e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_class_u_i_rect"><td colspan="2" onclick="javascript:toggleInherit('properties_class_u_i_rect')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="class_u_i_rect.html">UIRect</a></td></tr>
<tr class="memitem:a992da0e5d1cfe691521616dc189cd5e3 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">GameObject&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a992da0e5d1cfe691521616dc189cd5e3">cachedGameObject</a><code> [get]</code></td></tr>
<tr class="memdesc:a992da0e5d1cfe691521616dc189cd5e3 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Game object gets cached for speed. Can't simply return 'mGo' set in Awake because this function may be called on a prefab.  <a href="#a992da0e5d1cfe691521616dc189cd5e3">More...</a><br /></td></tr>
<tr class="separator:a992da0e5d1cfe691521616dc189cd5e3 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accdf9ee30fc896bb9891ad3f88223971 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">Transform&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#accdf9ee30fc896bb9891ad3f88223971">cachedTransform</a><code> [get]</code></td></tr>
<tr class="memdesc:accdf9ee30fc896bb9891ad3f88223971 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform gets cached for speed. Can't simply return 'mTrans' set in Awake because this function may be called on a prefab.  <a href="#accdf9ee30fc896bb9891ad3f88223971">More...</a><br /></td></tr>
<tr class="separator:accdf9ee30fc896bb9891ad3f88223971 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d9276581ef544bcf5de05a9c4ba0e81 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">Camera&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a6d9276581ef544bcf5de05a9c4ba0e81">anchorCamera</a><code> [get]</code></td></tr>
<tr class="memdesc:a6d9276581ef544bcf5de05a9c4ba0e81 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Camera used by anchors.  <a href="#a6d9276581ef544bcf5de05a9c4ba0e81">More...</a><br /></td></tr>
<tr class="separator:a6d9276581ef544bcf5de05a9c4ba0e81 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7be6db86ecb5d2692a0d82b1fa32f981 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a7be6db86ecb5d2692a0d82b1fa32f981">isFullyAnchored</a><code> [get]</code></td></tr>
<tr class="memdesc:a7be6db86ecb5d2692a0d82b1fa32f981 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the rectangle is currently anchored fully on all sides.  <a href="#a7be6db86ecb5d2692a0d82b1fa32f981">More...</a><br /></td></tr>
<tr class="separator:a7be6db86ecb5d2692a0d82b1fa32f981 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e839a589bebb6e0951a8c573bc10675 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a2e839a589bebb6e0951a8c573bc10675">isAnchoredHorizontally</a><code> [get]</code></td></tr>
<tr class="memdesc:a2e839a589bebb6e0951a8c573bc10675 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the rectangle is anchored horizontally.  <a href="#a2e839a589bebb6e0951a8c573bc10675">More...</a><br /></td></tr>
<tr class="separator:a2e839a589bebb6e0951a8c573bc10675 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81489f538e22f5f9a427dc5b95a87615 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a81489f538e22f5f9a427dc5b95a87615">isAnchoredVertically</a><code> [get]</code></td></tr>
<tr class="memdesc:a81489f538e22f5f9a427dc5b95a87615 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the rectangle is anchored vertically.  <a href="#a81489f538e22f5f9a427dc5b95a87615">More...</a><br /></td></tr>
<tr class="separator:a81489f538e22f5f9a427dc5b95a87615 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbcd5b75b4994aafabb9b82225faac61 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#acbcd5b75b4994aafabb9b82225faac61">canBeAnchored</a><code> [get]</code></td></tr>
<tr class="memdesc:acbcd5b75b4994aafabb9b82225faac61 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the rectangle can be anchored.  <a href="#acbcd5b75b4994aafabb9b82225faac61">More...</a><br /></td></tr>
<tr class="separator:acbcd5b75b4994aafabb9b82225faac61 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4332a5373019290da50a2537f800139 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_rect.html">UIRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#aa4332a5373019290da50a2537f800139">parent</a><code> [get]</code></td></tr>
<tr class="memdesc:aa4332a5373019290da50a2537f800139 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the rectangle's parent, if any.  <a href="#aa4332a5373019290da50a2537f800139">More...</a><br /></td></tr>
<tr class="separator:aa4332a5373019290da50a2537f800139 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5573910254e9f08953dd2201b6ddc944 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_root.html">UIRoot</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a5573910254e9f08953dd2201b6ddc944">root</a><code> [get]</code></td></tr>
<tr class="memdesc:a5573910254e9f08953dd2201b6ddc944 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the root object, if any.  <a href="#a5573910254e9f08953dd2201b6ddc944">More...</a><br /></td></tr>
<tr class="separator:a5573910254e9f08953dd2201b6ddc944 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1451a6901601b09ff60b39c387abfed3 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a1451a6901601b09ff60b39c387abfed3">isAnchored</a><code> [get]</code></td></tr>
<tr class="memdesc:a1451a6901601b09ff60b39c387abfed3 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns 'true' if the widget is currently anchored on any side.  <a href="#a1451a6901601b09ff60b39c387abfed3">More...</a><br /></td></tr>
<tr class="separator:a1451a6901601b09ff60b39c387abfed3 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4b5779989f6c0f3f0259d5b3a4993d5 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">abstract float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#ad4b5779989f6c0f3f0259d5b3a4993d5">alpha</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad4b5779989f6c0f3f0259d5b3a4993d5 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Local alpha, not relative to anything.  <a href="#ad4b5779989f6c0f3f0259d5b3a4993d5">More...</a><br /></td></tr>
<tr class="separator:ad4b5779989f6c0f3f0259d5b3a4993d5 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac755b8e3a6fec359df0f21fb65ee8737 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">abstract Vector3[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#ac755b8e3a6fec359df0f21fb65ee8737">localCorners</a><code> [get]</code></td></tr>
<tr class="memdesc:ac755b8e3a6fec359df0f21fb65ee8737 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Local-space corners of the UI rectangle. The order is bottom-left, top-left, top-right, bottom-right.  <a href="#ac755b8e3a6fec359df0f21fb65ee8737">More...</a><br /></td></tr>
<tr class="separator:ac755b8e3a6fec359df0f21fb65ee8737 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b7d5aa9d8f31c2cd92ed3dc2858f5b1 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">abstract Vector3[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a9b7d5aa9d8f31c2cd92ed3dc2858f5b1">worldCorners</a><code> [get]</code></td></tr>
<tr class="memdesc:a9b7d5aa9d8f31c2cd92ed3dc2858f5b1 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">World-space corners of the UI rectangle. The order is bottom-left, top-left, top-right, bottom-right.  <a href="#a9b7d5aa9d8f31c2cd92ed3dc2858f5b1">More...</a><br /></td></tr>
<tr class="separator:a9b7d5aa9d8f31c2cd92ed3dc2858f5b1 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f00c2933adf7c0037016fedba288ed5 inherit properties_class_u_i_rect"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect.html#a0f00c2933adf7c0037016fedba288ed5">cameraRayDistance</a><code> [get]</code></td></tr>
<tr class="memdesc:a0f00c2933adf7c0037016fedba288ed5 inherit properties_class_u_i_rect"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function that returns the distance to the camera's directional vector hitting the panel's plane.  <a href="#a0f00c2933adf7c0037016fedba288ed5">More...</a><br /></td></tr>
<tr class="separator:a0f00c2933adf7c0037016fedba288ed5 inherit properties_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_class_u_i_rect"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_u_i_rect')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_u_i_rect.html">UIRect</a></td></tr>
<tr class="memitem:a4ff44256005f29afdd2217a557a94337 inherit pro_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ff44256005f29afdd2217a557a94337"></a>
GameObject&#160;</td><td class="memItemRight" valign="bottom"><b>mGo</b></td></tr>
<tr class="separator:a4ff44256005f29afdd2217a557a94337 inherit pro_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa9422b05a4c5e864ab420d4f6deabb8 inherit pro_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa9422b05a4c5e864ab420d4f6deabb8"></a>
Transform&#160;</td><td class="memItemRight" valign="bottom"><b>mTrans</b></td></tr>
<tr class="separator:aaa9422b05a4c5e864ab420d4f6deabb8 inherit pro_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48701c2b861ebe1f2bc44ab9e66306a7 inherit pro_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48701c2b861ebe1f2bc44ab9e66306a7"></a>
<a class="el" href="class_better_list.html">BetterList</a>&lt; <a class="el" href="class_u_i_rect.html">UIRect</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mChildren</b> = new <a class="el" href="class_better_list.html">BetterList</a>&lt;<a class="el" href="class_u_i_rect.html">UIRect</a>&gt;()</td></tr>
<tr class="separator:a48701c2b861ebe1f2bc44ab9e66306a7 inherit pro_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35907a9165729d291482ef76cf25c8bf inherit pro_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35907a9165729d291482ef76cf25c8bf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mChanged</b> = true</td></tr>
<tr class="separator:a35907a9165729d291482ef76cf25c8bf inherit pro_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83b7e0311c5c6ac4544a500e2cb2f0da inherit pro_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83b7e0311c5c6ac4544a500e2cb2f0da"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mParentFound</b> = false</td></tr>
<tr class="separator:a83b7e0311c5c6ac4544a500e2cb2f0da inherit pro_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9842f6aebd5cfcb16d4d624f94a1837c inherit pro_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9842f6aebd5cfcb16d4d624f94a1837c"></a>
Camera&#160;</td><td class="memItemRight" valign="bottom"><b>mCam</b></td></tr>
<tr class="separator:a9842f6aebd5cfcb16d4d624f94a1837c inherit pro_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a1ab70409fb0ece835b0ec7d2632ca0 inherit pro_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a1ab70409fb0ece835b0ec7d2632ca0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mStarted</b> = false</td></tr>
<tr class="separator:a4a1ab70409fb0ece835b0ec7d2632ca0 inherit pro_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_class_u_i_rect"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_class_u_i_rect')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="class_u_i_rect.html">UIRect</a></td></tr>
<tr class="memitem:a16265431db58043d1371d2b75e242cad inherit pro_static_attribs_class_u_i_rect"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16265431db58043d1371d2b75e242cad"></a>
static Vector3[]&#160;</td><td class="memItemRight" valign="bottom"><b>mSides</b> = new Vector3[4]</td></tr>
<tr class="separator:a16265431db58043d1371d2b75e242cad inherit pro_static_attribs_class_u_i_rect"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widgets' geometry. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a02510f8cd583b505a0a06ca4980dc14a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIPanel.AddWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Make the following widget be managed by the panel. </p>

</div>
</div>
<a class="anchor" id="a4af47716534d16c910198e778288af04"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.Affects </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the specified widget is going to be affected by this panel in any way. </p>

</div>
</div>
<a class="anchor" id="ac8f96d64cf619e1c712596f39768bb80"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.Awake </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Cache components. </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect.html#aef89f813fa10d700b924e33e4d5d2540">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a141b09406cf3e6a923db53c4fd860a44"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Vector3 UIPanel.CalculateConstrainOffset </td>
          <td>(</td>
          <td class="paramtype">Vector2&#160;</td>
          <td class="paramname"><em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector2&#160;</td>
          <td class="paramname"><em>max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the offset needed to be constrained within the panel's bounds. </p>

</div>
</div>
<a class="anchor" id="acd9736460126290f248d2641bb1d390e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override float UIPanel.CalculateFinalAlpha </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>frameID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Widget's final alpha, after taking the panel's alpha into account. </p>

<p>Implements <a class="el" href="class_u_i_rect.html#a00ca3f8eef37a0d04d44c7b7ab6851b0">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a5eefdaab7881ddf6f6715274bd70aa52"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int UIPanel.CompareFunc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Function that can be used to depth-sort panels. </p>

</div>
</div>
<a class="anchor" id="a30e1b21acea0887de15a7dbea308ab62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.ConstrainTargetToBounds </td>
          <td>(</td>
          <td class="paramtype">Transform&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ref Bounds&#160;</td>
          <td class="paramname"><em>targetBounds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constrain the current target position to be within panel bounds. </p>

</div>
</div>
<a class="anchor" id="a1b37a77873429dd6f45238bc6f7e8f9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.ConstrainTargetToBounds </td>
          <td>(</td>
          <td class="paramtype">Transform&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>immediate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constrain the specified target to be within the panel's bounds. </p>

</div>
</div>
<a class="anchor" id="aeb470769bbb0a46c3d52a0ad9a001988"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.FillDrawCall </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_draw_call.html">UIDrawCall</a>&#160;</td>
          <td class="paramname"><em>dc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill the geometry for the specified draw call. </p>

</div>
</div>
<a class="anchor" id="a6d9cd1ec01aeea62dd8dc8eb1a9dd77b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_u_i_panel.html">UIPanel</a> UIPanel.Find </td>
          <td>(</td>
          <td class="paramtype">Transform&#160;</td>
          <td class="paramname"><em>trans</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Find the <a class="el" href="class_u_i_panel.html" title="UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widget...">UIPanel</a> responsible for handling the specified transform. </p>

</div>
</div>
<a class="anchor" id="a63e7b644c6b785575bebcc6bf36c50ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_u_i_panel.html">UIPanel</a> UIPanel.Find </td>
          <td>(</td>
          <td class="paramtype">Transform&#160;</td>
          <td class="paramname"><em>trans</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>createIfMissing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Find the <a class="el" href="class_u_i_panel.html" title="UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widget...">UIPanel</a> responsible for handling the specified transform. </p>

</div>
</div>
<a class="anchor" id="a30c71c482322d55f7eaa342d50648e4e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_u_i_panel.html">UIPanel</a> UIPanel.Find </td>
          <td>(</td>
          <td class="paramtype">Transform&#160;</td>
          <td class="paramname"><em>trans</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>createIfMissing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>layer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Find the <a class="el" href="class_u_i_panel.html" title="UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widget...">UIPanel</a> responsible for handling the specified transform. </p>

</div>
</div>
<a class="anchor" id="af5ee0b9bb4e404b3035c7b0516bd2308"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_draw_call.html">UIDrawCall</a> UIPanel.FindDrawCall </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Insert the specified widget into one of the existing draw calls if possible. If it's not possible, and a new draw call is required, 'null' is returned because draw call creation is a delayed operation. </p>

</div>
</div>
<a class="anchor" id="af360658a2751450623b9c3e901e9e4d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override Vector3 [] UIPanel.GetSides </td>
          <td>(</td>
          <td class="paramtype">Transform&#160;</td>
          <td class="paramname"><em>relativeTo</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the sides of the rectangle relative to the specified transform. The order is left, top, right, bottom. </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect.html#a092a23a9021c84600cd95e2d310a2fc7">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a1748c0bf4fd5a981ad5f66a0463b32f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector2 UIPanel.GetViewSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Panel's size &ndash; which is either the clipping rect, or the screen dimensions. </p>

</div>
</div>
<a class="anchor" id="af34936aa8bbac40d8dfd539f161c4518"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector2 UIPanel.GetWindowSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the size of the game window in pixels. </p>

</div>
</div>
<a class="anchor" id="a882c9f7c7ffca74daa6cee1e6d1c4cc9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.Invalidate </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeChildren</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Invalidating the panel should reset its alpha. </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect.html#a1063127dadfcc483a826af6f1dff878c">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a70127e23393322773e833161c693a6b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.IsVisible </td>
          <td>(</td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether the specified rectangle is visible by the panel. The coordinates must be in world space. </p>

</div>
</div>
<a class="anchor" id="aa512c5623d55cfa1cb66e59b793ff800"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.IsVisible </td>
          <td>(</td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>worldPos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether the specified world position is within the panel's bounds determined by the clipping rect. </p>

</div>
</div>
<a class="anchor" id="acb4745cb95664108bfb75e477d543a48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.IsVisible </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether the specified widget is visible by the panel. </p>

</div>
</div>
<a class="anchor" id="a9a7768f237d282b1b5cc883d572b18df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.OnAnchor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the edges after the anchors have been updated. </p>

<p>Implements <a class="el" href="class_u_i_rect.html#adc0c80689e01ec1e0929a63080384835">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a38dfa0ccfcd2e384e76b3191e878da66"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.OnDisable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destroy all draw calls we've created when this script gets disabled. </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect.html#a23ae4333cc04d6bdfc26ae64e2e638dd">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a95d8578858711ccd781a665a4d9c7df7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.OnEnable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset the frame IDs. </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect.html#a97203bdd83735f30ca9a5ccf2e5d771a">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="ac9888a4c8dee6908b5a720dace2fde20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.OnInit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Mark all widgets as having been changed so the draw calls get re-created. </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect.html#adaa5dbfec42452823e6b54b8bfdcbb8e">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a5365f292443f114184d0ce2b99fcdb2a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.OnStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Layer is used to ensure that if it changes, widgets get moved as well. </p>

<p>Implements <a class="el" href="class_u_i_rect.html#aec7de6dc50079c0c9818776e711814de">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="af7fccef5a3343e1b22e8ff2aa6459d4b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.ParentHasChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Find the parent panel, if we have one. </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect.html#a7ce974582b32e40de0f7b045457715ff">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a0c04c019ffc78c87b631e8f49bd2d408"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIPanel.RebuildAllDrawCalls </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Causes all draw calls to be re-created on the next update. </p>

</div>
</div>
<a class="anchor" id="a0465c9b3211095356bf1847b149c8f7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIPanel.Refresh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Immediately refresh the panel. </p>

</div>
</div>
<a class="anchor" id="a7b4ce31c20c8342160830f72a4011cb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIPanel.RemoveWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove the widget from its current draw call, invalidating everything as needed. </p>

</div>
</div>
<a class="anchor" id="ac4af8227e9313faae51eee7763621d2d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIPanel.SetDirty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invalidate the panel's draw calls, forcing them to be rebuilt on the next update. This call also affects all children. </p>

</div>
</div>
<a class="anchor" id="ac04c5fe5c43f97447ac68ea7e1d076ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UIPanel.SetRect </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the panel's rectangle. </p>

<p>Implements <a class="el" href="class_u_i_rect.html#a27131739b7a11c6692afefc494050e6b">UIRect</a>.</p>

</div>
</div>
<a class="anchor" id="a53576a109d2f3aab0422d0a3b01985b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIPanel.SortWidgets </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Immediately sort all child widgets. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ad30f07b8d411ec238baa286ce134b7b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.alwaysOnScreen = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Optimization flag. Makes the assumption that the panel's geometry will always be on screen and the bounds don't need to be re-calculated. </p>

</div>
</div>
<a class="anchor" id="aac10bd6f8af362b381e3d727c4a2e83c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.anchorOffset = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>By default, non-clipped panels use the camera's bounds, and the panel's position has no effect. If you want the panel's position to actually be used with anchors, set this field to 'true'. </p>

</div>
</div>
<a class="anchor" id="a6f435ea1d26c989034884dc160f6d249"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.cullWhileDragging = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether widgets will be culled while the panel is being dragged. Having this on improves performance, but turning it off will reduce garbage collection. </p>

</div>
</div>
<a class="anchor" id="adfc6fa2545b96b4c351a1e3e5c6e9cb7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector4 UIPanel.drawCallClipRange = new Vector4(0f, 0f, 1f, 1f)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cached clip range passed to the draw call's shader. </p>

</div>
</div>
<a class="anchor" id="a07a93edaaeb66b5d1626fd8e4650ed7b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_u_i_draw_call.html">UIDrawCall</a>&gt; UIPanel.drawCalls = new List&lt;<a class="el" href="class_u_i_draw_call.html">UIDrawCall</a>&gt;()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>List of draw calls created by this panel. Do not attempt to modify this list yourself. </p>

</div>
</div>
<a class="anchor" id="a7cb562cd564108ba84acf209a13b1bbb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.generateNormals = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether normals and tangents will be generated for all meshes. </p>

</div>
</div>
<a class="anchor" id="a3c1f0de3a6e0651c9a5c7aa222451d44"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.generateUV2 = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether secondary UV coordinates will be generated for all meshes. </p>

</div>
</div>
<a class="anchor" id="ab2abe80accd60aee9935b0f4c8865d59"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_u_i_panel.html">UIPanel</a>&gt; UIPanel.list = new List&lt;<a class="el" href="class_u_i_panel.html">UIPanel</a>&gt;()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>List of active panels. </p>

</div>
</div>
<a class="anchor" id="a815cd2c2a69f19dbb697e6040c14bc0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OnClippingMoved UIPanel.onClipMove</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event callback that's triggered when the panel's clip region gets moved. </p>

</div>
</div>
<a class="anchor" id="a6ab07afe244b25e1fa4d915bfc233df2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UIDrawCall.OnCreateDrawCall UIPanel.onCreateDrawCall</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event callback that's triggered whenever the panel creates a new draw call. </p>

</div>
</div>
<a class="anchor" id="af90ada3bb28fc16678601e237c73108c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OnCreateMaterial UIPanel.onCreateMaterial</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>There may be cases where you will want to create a custom material per-widget in order to have unique draw calls. If that's the case, set this delegate and return your newly created material. Note that it's up to you to cache this material for the next call. </p>

</div>
</div>
<a class="anchor" id="a6ab0c801fbb641224bcfd1507b9e47cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OnGeometryUpdated UIPanel.onGeometryUpdated</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Notification triggered when the panel's geometry get rebuilt. It's mainly here for debugging purposes. </p>

</div>
</div>
<a class="anchor" id="af09a819fead3a376caf3b379dfa6d784"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RenderQueue UIPanel.renderQueue = RenderQueue.Automatic</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>By default all panels manage render queues of their draw calls themselves by incrementing them so that the geometry is drawn in the proper order. You can alter this behaviour. </p>

</div>
</div>
<a class="anchor" id="aa217bf000da24ce13b4d0943a41f1b85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UIDrawCall.ShadowMode UIPanel.shadowMode = UIDrawCall.ShadowMode.None</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether generated geometry will cast shadows. </p>

</div>
</div>
<a class="anchor" id="a0073bc58e06a531f831102b3752b8fe2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.showInPanelTool = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether this panel will show up in the panel tool (set this to 'false' for dynamically created temporary panels) </p>

</div>
</div>
<a class="anchor" id="a7b2d0597d0618b932ee31189f908f906"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.softBorderPadding = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the soft border will be used as padding. </p>

</div>
</div>
<a class="anchor" id="a3b339ef6c707a876b1d8fe9932ab9b5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UIPanel.startingRenderQueue = 3000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render queue used by the panel. The default value of '3000' is the equivalent of "Transparent". This property is only used if 'renderQueue' is set to something other than "Automatic". </p>

</div>
</div>
<a class="anchor" id="a8cf156b8f2de818e3e87f8a2b8312e6f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.useSortingOrder = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether sorting order will be used or not. Sorting order is used with Unity's 2D system. </p>

</div>
</div>
<a class="anchor" id="a5d0bc1f4ab8c122c07c7b0f8831a2929"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_u_i_widget.html">UIWidget</a>&gt; UIPanel.widgets = new List&lt;<a class="el" href="class_u_i_widget.html">UIWidget</a>&gt;()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>List of widgets managed by this panel. Do not attempt to modify this list yourself. </p>

</div>
</div>
<a class="anchor" id="a192e1ef6295438e22caaa2f38c439efd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.widgetsAreStatic = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether widgets drawn by this panel are static (won't move). This will improve performance. </p>

</div>
</div>
<a class="anchor" id="a3e1cfc549afe3112f20f31a24695f6bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Matrix4x4 UIPanel.worldToLocal = Matrix4x4.identity</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Matrix that will transform the specified world coordinates to relative-to-panel coordinates. </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a9fdc9eda699d7a5c2a7711bad2f4e92a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override float UIPanel.alpha</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Panel's alpha affects everything drawn by the panel. </p>

</div>
</div>
<a class="anchor" id="ad7895d55dd79f4ce94b15214f30ab67a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector4 UIPanel.baseClipRegion</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clipping position (XY) and size (ZW). Note that you should not be modifying this property at run-time to reposition the clipping. Adjust clipOffset instead. </p>

</div>
</div>
<a class="anchor" id="a6b8efde77bde7ca70693b999238fde55"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override bool UIPanel.canBeAnchored</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the rectangle can be anchored. </p>

</div>
</div>
<a class="anchor" id="add4186003b1ff66f0ac7807110044cfd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIPanel.clipCount</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Number of times the panel's contents get clipped. </p>

</div>
</div>
<a class="anchor" id="af973e877fd56d4aa85d76e410a54de5c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector2 UIPanel.clipOffset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clipping area offset used to make it possible to move clipped panels (scroll views) efficiently. Scroll views move by adjusting the clip offset by one value, and the transform position by the inverse. This makes it possible to not have to rebuild the geometry, greatly improving performance. </p>

</div>
</div>
<a class="anchor" id="ac9d8fe05897b650cf36d64b6b541be36"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">UIDrawCall.Clipping UIPanel.clipping</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clipping method used by all draw calls. </p>

</div>
</div>
<a class="anchor" id="ae5c9c452fd4b23d544c77f1dd5defca0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector4 UIPanel.clipRange</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clipping position (XY) and size (ZW). Note that you should not be modifying this property at run-time to reposition the clipping. Adjust clipOffset instead. </p>

</div>
</div>
<a class="anchor" id="a724d97450cc789f2f5e211499bcce6fa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector2 UIPanel.clipSoftness</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clipping softness is used if the clipped style is set to "Soft". </p>

</div>
</div>
<a class="anchor" id="a016a0eead2be12de9c52c970bf2b2b34"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Texture2D UIPanel.clipTexture</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Texture used to clip the region. </p>

</div>
</div>
<a class="anchor" id="a572ddd63a98782e18afe192dd6a85002"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIPanel.depth</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Panels can have their own depth value that will change the order with which everything they manage gets drawn. </p>

</div>
</div>
<a class="anchor" id="a1c40fb490a116552257f345928b57643"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector3 UIPanel.drawCallOffset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Directx9 pixel offset, used for drawing. </p>

</div>
</div>
<a class="anchor" id="a3cc4fdba9426d40d000167a06c5b6922"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector4 UIPanel.finalClipRegion</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Final clipping region after the offset has been taken into consideration. XY = center, ZW = size. </p>

</div>
</div>
<a class="anchor" id="a5d716341584bf2ac2a7dc713a06fb1cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.halfPixelOffset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the panel's drawn geometry needs to be offset by a half-pixel. </p>

</div>
</div>
<a class="anchor" id="a0dae5dc3e3c232d8e4832ba8bf20b8ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.hasClipping</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the panel will actually perform clipping of children. </p>

</div>
</div>
<a class="anchor" id="a56742e20e6efc29e4fb7c4231b0ebde6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.hasCumulativeClipping</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the panel will actually perform clipping of children. </p>

</div>
</div>
<a class="anchor" id="af326560557ea5b181f42a05febee8255"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIPanel.height</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Panel's height in pixels. </p>

</div>
</div>
<a class="anchor" id="a9e69116054a65dc5f63e3ecb98d87bb7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override Vector3 [] UIPanel.localCorners</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Local-space corners of the panel's clipping rectangle. The order is bottom-left, top-left, top-right, bottom-right. </p>

</div>
</div>
<a class="anchor" id="ab05101cfd99c2dafbd2f8094d2783d7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIPanel.nextUnusedDepth</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Helper property that returns the first unused depth value. </p>

</div>
</div>
<a class="anchor" id="a0946d16b28a3d01ab98668b617f823f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_panel.html">UIPanel</a> UIPanel.parentPanel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reference to the parent panel, if any. </p>

</div>
</div>
<a class="anchor" id="afa88d234d692e240bb6eab167fdbd131"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIPanel.sortingLayerName</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sorting layer used by the panel &ndash; used when mixing NGUI with the Unity's 2D system. Contributed by Benzino07: <a href="http://www.tasharen.com/forum/index.php?topic=6956.15">http://www.tasharen.com/forum/index.php?topic=6956.15</a> </p>

</div>
</div>
<a class="anchor" id="a040012d166ef961a0774cd0d28c4927e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIPanel.sortingOrder</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sorting order value for the panel's draw calls, to be used with Unity's 2D system. </p>

</div>
</div>
<a class="anchor" id="a982937691a545c84f6018700a4706c7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPanel.usedForUI</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the camera is used to draw UI geometry. </p>

</div>
</div>
<a class="anchor" id="a7543cc373f3a4e050017ed9737185084"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIPanel.width</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Panel's width in pixels. </p>

</div>
</div>
<a class="anchor" id="a8e02318551a1a6d86692838619b7749e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override Vector3 [] UIPanel.worldCorners</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>World-space corners of the panel's clipping rectangle. The order is bottom-left, top-left, top-right, bottom-right. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/WorkDir/Unity3D_Work/taidou_arpg/Assets/NGUI/Scripts/UI/UIPanel.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_panel.html">UIPanel</a></li>
    <li class="footer">Generated on Sat Jan 4 2020 22:30:28 for NGUI by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9 </li>
  </ul>
</div>
</body>
</html>
